import styles from "./read.module.css"; import Image from "next/image"; export default async function Read({ params }) { const chapterId = params.read; const results = await getPages(chapterId); const image_base_url = results.baseUrl + "/data/" + results.chapter.hash; if (results.length === 0) { return (
This chapter has no content. Please check the next chapter.
Total pages: {images.length}
{images && images.map((item, index) => (Page: {index + 1}